import { createApp } from 'vue'
import App from './App.vue'

import "@/App.css"


const app = createApp(App)

// 导入新建的路由文件
import router from "./router/index"
app.use(router)

// 导入element-plus 
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
app.use(ElementPlus)

// 引入svg素材图片
import 'virtual:svg-icons-register'

// 引入写好的配置文件
import GlobalComponents from '@/plugin'
app.use(GlobalComponents)






// 装载
app.mount('#app')